package com.e.dianshang.mapper;



import com.e.dianshang.pojo.Order;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author Tian同學
 * @Date 2020/11/9 18:02
 * @Version 1.0
 */
public interface OrderMapper extends Mapper<Order> {

    /**
     * 根据微信id查询购物车列表
     * @param openid
     * @return
     */
    List<Map> getList(@Param("openid") String openid);

    int deleteBatch(List<Integer> list);
}
